package cn.jiyun.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2024-11-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("xm_business")
public class XmBusiness implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 商家id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 手机号码
     */
    private String mobilePhone;

    /**
     * 申请次数
     */
    private Integer count;

    /**
     * 注册时间
     */
    private LocalDateTime registration;

    /**
     * 商家状态：1：未申请，2：申请中，3：已驳回
     */
    private Integer status;

    /**
     * 商家锁定状态：1：锁定，2：未锁定
     */
    private Integer businessStatus;

    /**
     * 逻辑删除：1：未删除，2：已删除
     */
    private Integer del;

    /**
     * 锁定原因
     */
    private Integer lockdownReason;

    /**
     * 补充说明
     */
    private String illustrate;

    //    查询最近几个月
    @TableField(exist = false)
    private Integer ztime;



}
